package ognl.domain;

public class Post {

    private String content;
    private Author author;

    public void setContent(String content) {
        this.content = content;
    }

    public void setAuthor(Author author) {
        this.author = author;
    }

    @Override
    public String toString() {
        return "Post{" +
                "content='" + content + '\'' +
                ", author=" + author +
                '}';
    }
}
